package cm.match.rule.expression;

import cm.match.rule.BaseRule;

public interface Expression extends BaseRule {

    default Expression and(Expression expression) {
        return new AndExpression(this, expression);
    }

    default Expression or(Expression expression) {
        return new OrExpression(this, expression);
    }

    default Expression not() {
        return new NotExpression(this);
    }
}